package com.yyq.adms.usermanage.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BackBaseEntity;

@Entity
@Table(name = "ss_sys_module_perm")
public class SysModulePerms extends BackBaseEntity implements java.io.Serializable {

	//对应数据库字段为: perm_id
	private Long permId;
	//对应数据库字段为: module_id
	private Long moduleId;
	private String permCname;
	
	public SysModulePerms(){
		
	}
	public SysModulePerms(Long mpId,Long permId,Long moduleId,String permCname){
		this.id = mpId;
		this.moduleId = moduleId;
		this.permCname = permCname;
		this.permId = permId;
	}
	
	@Transient
	public String getPermCname() {
		return permCname;
	}

	public void setPermCname(String permCname) {
		this.permCname = permCname;
	}
	
	/**
	 * 对应数据库字段为: perm_id
	**/
	@Column(name = "perm_id")
	public Long getPermId()
	{
		return permId;
	}
	
	/**
	 * 对应数据库字段为: perm_id
	**/
	public void setPermId(Long permId)
	{
		this.permId = permId;
	}
	
	
	/**
	 * 对应数据库字段为: module_id
	**/
	@Column(name = "module_id")
	public Long getModuleId()
	{
		return moduleId;
	}
	
	/**
	 * 对应数据库字段为: module_id
	**/
	public void setModuleId(Long moduleId)
	{
		this.moduleId = moduleId;
	}
	
	

}